//
//  ZORulerScrollView.h
//  WaxPatch
//
//  Created by 梁炜东 on 16/4/20.
//  Copyright © 2016年 zerotech.com. All rights reserved.
//

#import <UIKit/UIKit.h>

#define DISTANCELEFTANDRIGHT 8.f // 标尺左右距离
#define DISTANCEVALUE 8.f // 每隔刻度实际长度8个点
#define DISTANCETOPANDBOTTOM 2.f // 标尺上下距离

@interface ZYXRulerScrollView : UIScrollView

@property (nonatomic) NSUInteger rulerCount;

@property (nonatomic, strong) NSNumber *rulerAverage;

@property (nonatomic) NSUInteger rulerHeight;

@property (nonatomic) NSUInteger rulerWidth;

@property (nonatomic) CGFloat rulerValue;

@property (nonatomic) BOOL mode;

@property (nonatomic, strong) NSArray *arrayText;

- (void)drawRuler;
- (void)reset;
@end
